package com.yuan.ssm.service;
import java.util.List;

import com.yuan.ssm.entity.Power;
import com.yuan.ssm.vo.Page;
public interface PowerService {
	/**
	 * 增加
	 * @param user
	 * @return
	 */
	boolean add(Power user);

	boolean update(Power user);

	boolean delete(Long id);

	List<Power> listAll();

	Power getByName(String codeNumber);
	
	Page<Power> listAll(String codeNumber,String operatingAuthorization,int pageNo, int pageSize);
}
